import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:sonora/bloc/base/sj_base_state.dart';
import 'package:sonora/shared/lib/exception/base/sj_app_exception_wrapper.dart';

part 'sj_common_state.freezed.dart';

@freezed
class SjCommonState extends SjBaseState with _$SjCommonState {
  const factory SjCommonState({
    SjAppExceptionWrapper? appExceptionWrapper,
    @Default(0) int loadingCount,
    @Default(false) bool isLoading
  }) = _SjCommonState;
}
